//
//  HMSportSpeaker.h
//  HMBest22
//
//  Created by Apple on 17/1/14.
//  Copyright © 2017年 Apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HMSportTracking.h"
@interface HMSportSpeaker : NSObject
// 播放运动的类型
- (void)speakVoiceWithSportType:(HMSportType)sportType;

// 播放运动的状态
- (void)speakVoiceWithSportState:(HMSportState)sportState;

// 播放运动的总距离和总时长 平均速度
- (void)speakVoiceWithDistance:(double)distance andTime:(NSTimeInterval)time andAvgSpeed:(double)avgSpeed;

/// 单位的距离
@property (nonatomic) double unitDistance;
/// 上次播报的距离
@property (nonatomic) double lastResportDistance;
@end
